﻿using System;

namespace Hourglass.Qrobot.Models
{
    public sealed class SendMessageRequest : CookieRequest
    {
        private readonly Random _random = new Random();

        /// <summary>
        /// 回复对象
        /// </summary>
        public ReplyTarget Target { get; set; }

        /// <summary>
        /// 消息内容
        /// </summary>
        public string Content { get; set; }

        /// <summary>
        /// 登录人[QQ机器人]个人face字段
        /// </summary>
        public int Face { get; set; }

        public string ClientId { get; set; }

        public string Psessionid { get; set; }

        public int MessageId => _random.Next(10000000, 100000000);
    }
}
